<template>
  <el-container class="pages">
    <el-container>
      <baseMenu></baseMenu>
      <el-main>
        <router-view id="root" />
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import baseMenu from '@/components/baseMenu';
export default {
  name: 'root',
  components: {
    baseMenu
  }
}
</script>
<style lang="scss">
  body{
    margin: 0;
  }
</style>
<style lang="scss" scoped>
  .el-main{
    padding: 0;
  }
  .pages{
    position: absolute;
    width: 100%;
    height:100%;
    overflow: hidden;
  }
</style>
